package cn.getech.data.development.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.getech.data.intelligence.common.utils.PageUtils2;
import cn.getech.data.intelligence.common.utils.Query;

import cn.getech.data.development.mapper.ScheduleTimeHistoryMapper;
import cn.getech.data.development.entity.ScheduleTimeHistoryEntity;
import cn.getech.data.development.service.ScheduleTimeHistoryService;


@Service("scheduleTimeHistoryService")
public class ScheduleTimeHistoryServiceImpl extends ServiceImpl<ScheduleTimeHistoryMapper, ScheduleTimeHistoryEntity> implements ScheduleTimeHistoryService {

    @Override
    public PageUtils2<ScheduleTimeHistoryEntity> queryPage(Map<String, Object> params) {
        IPage<ScheduleTimeHistoryEntity> page = this.page(
                new Query<ScheduleTimeHistoryEntity>().getPage(params),
                new QueryWrapper<ScheduleTimeHistoryEntity>()
        );

        return new PageUtils2<ScheduleTimeHistoryEntity>(page);
    }

}
